package com.vanceinfo;
class Point{
	private double x;
	private double y;
	public Point(){
	}
	public Point(double x, double y){
		this.x=x;
		this.y=y;	
	}
	public double getValueX(){
		return x;
	}
	public double getValueY(){
		return y;
	}
}

public class MyPoint {
	public static void main(String[] args){
	Point start = new Point(10,10);
	Point end = new Point(20,20);
	System.out.println(start.getValueX()+" "+start.getValueY());
	System.out.println(end.getValueX()+" "+end.getValueY());
	
	}
}
